/**
 * Copyright © 2016-2025 The Thingsboard Authors
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
@import 'constants';

:host {
  display: flex;
  flex: 1;
  min-height: 150px;

  .tb-warning-icon {
    position: relative;
    display: inline-block;
    text-align: left;

    mat-icon {
      font-size: inherit;
      height: 12px;
      margin-left: 4px;
      color: #ff9a00;
    }
  }

  .tb-config-table {
    flex: 1 1 0 !important;
    overflow: auto;
  }
}

:host ::ng-deep {
  mat-header-row {
    height: 30px !important;
  }

  .mat-row, .mat-header-row {
    cursor: unset;
  }

  mat-footer-row, mat-row {
    height: 22px !important;
  }

  .mat-mdc-cell, .mat-mdc-header-cell {
    border: none !important;
  }

  .small-toggle {
    transform: scale(0.6);
    transform-origin: left center;
    width: 24px;
  }
}
